package com.ukao.cashregister.bean;

import java.util.List;

/**
 * Created by ukaodev on 2017/8/30.
 */

public class ClothIngManageBean  extends  BaseBean<ClothIngManageBean>{



        /**
         * pageNum : 1
         * pageSize : 8
         * size : 8
         * orderBy : null
         * startRow : 1
         * endRow : 8
         * total : 162
         * pages : 21
         * list : [{"orderNo":"2017081733538245","orderId":130,"factoryName":null,"pid":null,"userJson":"{\"i\":25,\"n\":\"duanfuwe1\",\"p\":\"18573160234\"}","serviceName":"清洗","userId":25,"scanCode":"180373722805","productName":"修衣领","batchInCode":"19000110","createTime":1503643347000,"pScanCode":null,"subtotal":4800,"batchOutCode":null,"statusText":"已入库","storeBracket":"","id":335,"factoryBracket":""},{"orderNo":"2017082292430664","orderId":155,"factoryName":"观象二路","pid":null,"userJson":"{\"i\":25,\"n\":\"duanfuwe1\",\"p\":\"18573160234\"}","serviceName":"清洗","userId":25,"scanCode":"662719393499","productName":"修衣领","batchInCode":"19000104","createTime":1503394098000,"pScanCode":null,"subtotal":8400,"batchOutCode":"90425429","statusText":"返工重洗","storeBracket":"","id":334,"factoryBracket":""},{"orderNo":"2017082292430664","orderId":155,"factoryName":"观象二路","pid":null,"userJson":"{\"i\":25,\"n\":\"duanfuwe1\",\"p\":\"18573160234\"}","serviceName":"鞋子清洗","userId":25,"scanCode":"050949804364","productName":"修鞋底","batchInCode":"19000104","createTime":1503394094000,"pScanCode":null,"subtotal":2790,"batchOutCode":"90425429","statusText":"返工重洗","storeBracket":"","id":333,"factoryBracket":""},{"orderNo":"2017082292430664","orderId":155,"factoryName":"观象二路","pid":null,"userJson":"{\"i\":25,\"n\":\"duanfuwe1\",\"p\":\"18573160234\"}","serviceName":"清洗","userId":25,"scanCode":"659332899124","productName":"修衣领","batchInCode":"19000104","createTime":1503394056000,"pScanCode":null,"subtotal":8400,"batchOutCode":"90425429","statusText":"返工重洗","storeBracket":"","id":332,"factoryBracket":""},{"orderNo":"2017082263793804","orderId":154,"factoryName":"观象二路","pid":null,"userJson":"{\"i\":25,\"n\":\"duanfuwe1\",\"p\":\"18573160234\"}","serviceName":"鞋子清洗","userId":25,"scanCode":"304726114486","productName":"修鞋底","batchInCode":"19000102","createTime":1503390132000,"pScanCode":null,"subtotal":2790,"batchOutCode":"90425429","statusText":"洗完，待配送","storeBracket":"","id":330,"factoryBracket":""},{"orderNo":"2017082263793804","orderId":154,"factoryName":"观象二路","pid":328,"userJson":"{\"i\":25,\"n\":\"duanfuwe1\",\"p\":\"18573160234\"}","serviceName":"鞋子清洗","userId":25,"scanCode":"186118398374","productName":"mao","batchInCode":"19000102","createTime":1503390130000,"pScanCode":"600979249985","subtotal":2790,"batchOutCode":null,"statusText":"已入库","storeBracket":"","id":329,"factoryBracket":""},{"orderNo":"2017082263793804","orderId":154,"factoryName":"观象二路","pid":null,"userJson":"{\"i\":25,\"n\":\"duanfuwe1\",\"p\":\"18573160234\"}","serviceName":"鞋子清洗","userId":25,"scanCode":"600979249985","productName":"修鞋底","batchInCode":"19000102","createTime":1503390130000,"pScanCode":null,"subtotal":2790,"batchOutCode":"90425429","statusText":"洗完，待配送","storeBracket":"","id":328,"factoryBracket":""},{"orderNo":"2017082263793804","orderId":154,"factoryName":"观象二路","pid":326,"userJson":"{\"i\":25,\"n\":\"duanfuwe1\",\"p\":\"18573160234\"}","serviceName":"鞋子清洗","userId":25,"scanCode":"613711362040","productName":"mao","batchInCode":"19000102","createTime":1503390128000,"pScanCode":"610165190977","subtotal":2790,"batchOutCode":null,"statusText":"已入库","storeBracket":"","id":327,"factoryBracket":""}]
         * firstPage : 1
         * prePage : 0
         * nextPage : 2
         * lastPage : 8
         * isFirstPage : true
         * isLastPage : false
         * hasPreviousPage : false
         * hasNextPage : true
         * navigatePages : 8
         * navigatepageNums : [1,2,3,4,5,6,7,8]
         */

        private int pageNum;
        private int pageSize;
        private int size;
        private Object orderBy;
        private int startRow;
        private int endRow;
        private int total;
        private int pages;
        private int firstPage;
        private int prePage;
        private int nextPage;
        private int lastPage;
        private boolean isFirstPage;
        private boolean isLastPage;
        private boolean hasPreviousPage;
        private boolean hasNextPage;
        private int navigatePages;
        private List<ListBean> list;
        private List<Integer> navigatepageNums;

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public Object getOrderBy() {
            return orderBy;
        }

        public void setOrderBy(Object orderBy) {
            this.orderBy = orderBy;
        }

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }

        public int getEndRow() {
            return endRow;
        }

        public void setEndRow(int endRow) {
            this.endRow = endRow;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getFirstPage() {
            return firstPage;
        }

        public void setFirstPage(int firstPage) {
            this.firstPage = firstPage;
        }

        public int getPrePage() {
            return prePage;
        }

        public void setPrePage(int prePage) {
            this.prePage = prePage;
        }

        public int getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public int getLastPage() {
            return lastPage;
        }

        public void setLastPage(int lastPage) {
            this.lastPage = lastPage;
        }

        public boolean isIsFirstPage() {
            return isFirstPage;
        }

        public void setIsFirstPage(boolean isFirstPage) {
            this.isFirstPage = isFirstPage;
        }

        public boolean isIsLastPage() {
            return isLastPage;
        }

        public void setIsLastPage(boolean isLastPage) {
            this.isLastPage = isLastPage;
        }

        public boolean isHasPreviousPage() {
            return hasPreviousPage;
        }

        public void setHasPreviousPage(boolean hasPreviousPage) {
            this.hasPreviousPage = hasPreviousPage;
        }

        public boolean isHasNextPage() {
            return hasNextPage;
        }

        public void setHasNextPage(boolean hasNextPage) {
            this.hasNextPage = hasNextPage;
        }

        public int getNavigatePages() {
            return navigatePages;
        }

        public void setNavigatePages(int navigatePages) {
            this.navigatePages = navigatePages;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public List<Integer> getNavigatepageNums() {
            return navigatepageNums;
        }

        public void setNavigatepageNums(List<Integer> navigatepageNums) {
            this.navigatepageNums = navigatepageNums;
        }

        public static class ListBean {
            /**
             * orderNo : 2017081733538245
             * orderId : 130
             * factoryName : null
             * pid : null
             * userJson : {"i":25,"n":"duanfuwe1","p":"18573160234"}
             * serviceName : 清洗
             * userId : 25
             * scanCode : 180373722805
             * productName : 修衣领
             * batchInCode : 19000110
             * createTime : 1503643347000
             * pScanCode : null
             * subtotal : 4800
             * batchOutCode : null
             * statusText : 已入库
             * storeBracket :
             * id : 335
             * factoryBracket :
             */


            private boolean  isCheck;
            private boolean  isEnablePrint;
            private String  tranTypeText;
            private int  type;
            private String  phone;
            private String tranNum;
            private String orderNo;
            private String orderId;
            private String factoryName;
            private Object pid;
            private String userJson;
            private String serviceName;
            private int userId;
            private String scanCode;
            private String productName;
            private String batchInCode;
            private long createTime;
            private Object pScanCode;
            private int subtotal;
            private String batchOutCode;
            private String statusText;
            private String storeBracket;
            private int id;
            private String factoryBracket;
            private  int  inBatch;
            private int statusVal;
            private String bindCode;
            private  boolean isEnableBindCode;

            public boolean isEnableBindCode() {
                return isEnableBindCode;
            }

            public void setEnableBindCode(boolean enableBindCode) {
                isEnableBindCode = enableBindCode;
            }

            public String getBindCode() {
                return bindCode;
            }

            public void setBindCode(String bindCode) {
                this.bindCode = bindCode;
            }

            public int getStatusVal() {
                return statusVal;
            }

            public void setStatusVal(int statusVal) {
                this.statusVal = statusVal;
            }

            public boolean getInBatch() {
                if (inBatch==1){  //已加入袋号
                    return  true;
                }
                return false;
            }


            public int getType() {
                return type;
            }

            public boolean isCheck() {
                return isCheck;
            }

            public void setCheck(boolean check) {
                isCheck = check;
            }

            public boolean isEnablePrint() {
                return isEnablePrint;
            }

            public String getTranTypeText() {
                return tranTypeText;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getTranNum() {
                return tranNum;
            }

            public String getOrderNo() {
                return orderNo;
            }

            public void setOrderNo(String orderNo) {
                this.orderNo = orderNo;
            }

            public String getOrderId() {
                return orderId;
            }

            public void setOrderId(String orderId) {
                this.orderId = orderId;
            }

            public String getFactoryName() {
                return factoryName;
            }

            public void setFactoryName(String factoryName) {
                this.factoryName = factoryName;
            }

            public Object getPid() {
                return pid;
            }

            public void setPid(Object pid) {
                this.pid = pid;
            }

            public String getUserJson() {
                return userJson;
            }

            public void setUserJson(String userJson) {
                this.userJson = userJson;
            }

            public String getServiceName() {
                return serviceName;
            }

            public void setServiceName(String serviceName) {
                this.serviceName = serviceName;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getScanCode() {
                return scanCode;
            }

            public void setScanCode(String scanCode) {
                this.scanCode = scanCode;
            }

            public String getProductName() {
                return productName;
            }

            public void setProductName(String productName) {
                this.productName = productName;
            }

            public String getBatchInCode() {
                return batchInCode;
            }

            public void setBatchInCode(String batchInCode) {
                this.batchInCode = batchInCode;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public Object getPScanCode() {
                return pScanCode;
            }

            public void setPScanCode(Object pScanCode) {
                this.pScanCode = pScanCode;
            }

            public int getSubtotal() {
                return subtotal;
            }

            public void setSubtotal(int subtotal) {
                this.subtotal = subtotal;
            }

            public String getBatchOutCode() {
                return batchOutCode;
            }

            public void setBatchOutCode(String batchOutCode) {
                this.batchOutCode = batchOutCode;
            }

            public String getStatusText() {
                return statusText;
            }

            public void setStatusText(String statusText) {
                this.statusText = statusText;
            }

            public String getStoreBracket() {
                return storeBracket;
            }

            public void setStoreBracket(String storeBracket) {
                this.storeBracket = storeBracket;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getFactoryBracket() {
                return factoryBracket;
            }

            public void setFactoryBracket(String factoryBracket) {
                this.factoryBracket = factoryBracket;
            }
        }

}
